<?php $this->headStyle()->captureStart();?>
td.icon a {width:120px;height:75px;}
td.icon a img {width:120px;}
<?php $this->headStyle()->captureEnd();?>
<form action="" method="post">
<?php
echo $this->form()->hidden('lang', $this->fromLang);
echo $this->form()->hidden('submit', 'select');
echo $this->form()->hidden('referer', $this->referer) . "\n";
?>
<div class="body">
	<table class="search form">
		<tr>
			<th><?php echo $this->language('CHANGE LANGUAGE INFORMATION');?>:</th>
			<th style="width:320px;"></th>
		</tr>
		<tr>
			<td>
				<table class="list no-border">
					<?php
					foreach($this->specialList AS $special) {
						$data = isset($this->data[$special->getId()]) ? $this->data[$special->getId()] : false;
						$keywords = implode(';', $special->getKeywords($this->fromLang));
					?>
					<tr>
						<td class="narrow"><?php echo $this->form()->checkbox('special_id[]', $special->getId(), array('checked' => 'checked'));?></td>
						<td class="icon">
							<a href="<?php echo $special->getCover()->getLarge(false);?>" target="_blank" style="float:left;"><img src="<?php echo $special->getCover()->getThumb(false);?>" /></a>
						</td>
						<td>
							<code><em>TITLE:</em></code>
							<?php echo $this->form()->text('data[' . $special->getId() . '][title]', ($data ? $data['title'] : $special->getTitle()), array('style' => 'width:90%', 'maxlength' => '250', 'class' => 'translator'));?>
							<code><em>TAG(s):</em></code>
							<?php echo $this->form()->text('data[' . $special->getId() . '][tag]', ($data ? $data['tag'] : $keywords), array('style' => 'width:90%', 'maxlength' => '250', 'class' => 'translator'));?>
						</td>
						<td>
							<code><em>DESCRIPTION:</em></code>
							<?php echo $this->form()->textarea('data[' . $special->getId() . '][description]', ($data ? $data['description'] : $special->getDescription()), array('style' => 'width:95%;height:55px', 'class' => 'translator'));?>
						</td>
					</tr>
					<?php } ?>
				</table>
			</td>
			<td>
				<?php echo $this->render('include/translator.phtml');?>
				<div style="margin:0 5px;">
					<?php
						picture_category::$_lang = $this->user->getLang();
						echo $this->partial('picture/_inc/categoryCheckbox.phtml', array('name' => 'category_id[]', 'selected' => array(), 'type' => 'checkbox'));
					?>
					<hr/>
					<button type="submit" name="import" value="1"><?php echo $this->language('Continue');?> »</button>
					<button type="button" name="cancel" value="cancel" onclick="history.back();"><?php echo $this->language('Cancel');?> »</button>
				</div>
			</td>
		</tr>
	</table>
</div>
</form>